class FactoryInfo < ActiveRecord::Base
  validates_presence_of :name,:address,:phone
  validates_uniqueness_of :name
  belongs_to :user
end
